# SPDX-FileCopyrightText: Copyright 2022-2024 深圳市同心圆网络有限公司
# SPDX-License-Identifier: GPL-3.0-only

tags:
  - collection
summary: 列出mongo数据表
description: 列出mongo数据表
operationId: "{{ uniqueOpId() }}"
requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          token:
            type: string
            description: 访问令牌‘
          id: 
            type: string
            description: mongo连接ID
          database:
            type: string
            description: 数据库名称
responses:
  "200":
    description: 成功
    content:
      application/json:
        schema:
          type: array
          items:
            type: string
  "500":
    description:  失败
    content:
      application/json:
        schema:
          $ref: "@schemas/errInfo.yml.njk"